﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;

namespace Views.Dialog
{
    public class DialogPanel : Border
    {
        public void Close()
        {
            Grid grid = (Grid)this.Parent;
            grid.Visibility = System.Windows.Visibility.Hidden;
            grid.Children.Remove(this);
        }
    }
}
